<!doctype html>
<html>
<head>
    <title>Test Page</title>
    <link type="text/css" rel="stylesheet" href="/assets/dpSyntaxHighlighter.css">
    <link type="text/css" rel="stylesheet" href="../../../build/slider/assets/skins/sam/slider.css">
    <link type="text/css" rel="stylesheet" href="../../../build/logger/assets/skins/sam/logger.css">
    <style type="text/css">
        #bg1 {
            height: 28px;
            width: 228px;
        }
    </style>
</head>
<body class="yui-skin-sam">
<div id="log"></div>
<div class="markup">
    <div id="bg1" class="yui-h-slider">
        <div id="t1" class="yui-slider-thumb"><img src="../../../build/slider/assets/skins/sam/thumb-n.gif" alt="slider thumb"></div>
    </div>
</div>

<script type="text/javascript" src="../../../build/yahoo/yahoo.js"></script>
<script type="text/javascript" src="../../../build/dom/dom.js"></script>
<script type="text/javascript" src="../../../build/event/event.js"></script>
<script type="text/javascript" src="../../../build/animation/animation.js"></script>
<script type="text/javascript" src="../../../build/dragdrop/dragdrop.js"></script>
<script type="text/javascript" src="../../../build/slider/slider.js"></script>
<script type="text/javascript" src="../../../build/logger/logger.js"></script>
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function () {

var log = new YAHOO.widget.LogReader('log',{ newestOnTop: false }),
    s1,
    startCount = 1,
    endCount = 1;

var s1 = YAHOO.widget.Slider.getHorizSlider('bg1','t1',0,200);
s1.backgroundEnabled = false;

s1.subscribe('slideStart', function () {
    YAHOO.log('slideStart: ' + (startCount++));
});

s1.subscribe('slideEnd', function () {
    YAHOO.log('slideEnd: ' + (endCount++));
});

});
</script>
<script type="text/javascript" src="/assets/dpSyntaxHighlighter.js" ></script>
<script type="text/javascript" src="/assets/dpSyntaxHighlightExample.js"></script>
</body>
</html>
